package com.person.yhzs.wxPaySDK.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 微信支付常量类
 *
 * @author luolin
 */
@Component
public interface WechatConstants {

    /**
     * @Description 微信小程序ID
     * @Author luolin
     * @Date 2022/6/24 13:21
     **/
    String APPID = "wxa12255ab4f367376";

    /**
     * @Description 微信小程序秘钥
     * @Author luolin
     * @Date 2022/6/24 13:21
     **/
    String SECRET = "90d1eab521f61d31cc65d4117bd80d3c";

    /**
     * @Description 商户ID
     * @Author luolin
     * @Date 2022/6/24 14:54
     **/
    String MCH_ID = "1627801713"; //

    /**
     * @Description 商户密钥
     * @Author luolin
     * @Date 2022/6/24 14:55
     **/
    String MCH_KEY_V3 = "LUOLIN1511180140LINJING9876APIV3";  // v3

    /**
     * @Description 商户密钥
     * @Author luolin
     * @Date 2022/6/24 14:55
     **/
    String MCH_KEY_2 = "LUOLIN1511180140LINJING1234APIV2";    // v2

    /**
     * @Description 证书序列号
     * @Author luolin
     * @Date 2022/6/27 10:20
     **/
    String MCH_SERIAL_NO = "709FEF677C9C399F075B12768141FDB926D915E3";

    /**
     * @Description p12证书
     * @Author luolin
     * @Date 2022/6/27 10:20
     **/
    String API_CLIENT_CERT_P12 = "classpath:cert/apiclient_cert.p12";

    /**
     * @Description pem证书
     * @Author luolin
     * @Date 2022/6/27 10:20
     **/
    String API_CLIENT_CERT_PEM = "classpath:cert/apiclient_cert.p12";

    /**
     * @Description key_pem证书
     * @Author luolin
     * @Date 2022/6/27 10:20
     **/
    String API_CLIENT_KEY_PEM = "classpath:cert/apiclient_cert.p12";

    // code码
    String JS_CODE = "";

    // 授权类型
    String GRANT_TYPE = "authorization_code";
}
